Codexonics\PrimeMoverFramework\classes\PrimeMoverSystemFunctions D

Total Complexity 703
Dependencies 11
Dependents 44
Total lines 4,088
Lines of code 2,339
Logical lines of code 1,507
Comment lines 1,184
Methods 163
Properties 1

Methods 163

Method Rating Maintainability Complexity Lines of code
printFriendlyDiffMessages()
D
29 30 122
addToPrimeMoverZipPackage()
C
33 29 94
generateReplaceableForUploadInfoAdjustment()
A
40 14 68
primeMoverValidateFootprintData()
A
42 15 49
delete()
A
46 15 34
recurseCopy()
A
42 14 48
isMultisiteMainSite()
A
52 13 25
cleanDbTablesForExporting()
A
46 12 37
unzipFileChunked()
A
45 11 40
themeDifference()
A
41 9 64
readfileChunked()
A
49 10 31
doScreenOptionSettings()
A
51 10 28
getLibZipversion()
A
51 10 25
primeMoverNonceSalt()
A
54 10 23
computeSchemeReplaceables()
A
49 9 31
generateReplaceableForSiteSchemeAdjustment()
A
48 8 34
getBytes()
A
55 9 18
pluginsDifference()
A
50 8 29
maybeCreateFoldersInMu()
A
52 8 28
getCreateExportUrl()
A
53 8 22
dropTable()
A
57 8 18
generateImportReplaceables()
A
49 7 32
parsedBHostForPDO()
S
51 7 28
realFileSize()
S
51 7 27
primeMoverGetBlogsDirPath()
S
53 7 23
hashEntity()
S
53 7 21
fileIsInsideGivenDirectory()
S
56 7 19
removeSchemeFromUrl()
S
58 7 15
blogIsUsable()
S
61 7 13
createFriendlyName()
S
53 6 22
maybeForceDeleteOptionCaches()
S
55 6 20
isPrimeMoverPage()
S
57 6 19
getSliceSize()
S
56 6 19
getActivatedPlugins()
S
56 6 19
getPluginFullPath()
S
57 6 18
readPrimeMoverDirectory()
S
56 6 17
getCorrectFolderNameFromZip()
S
56 6 16
isPrimeMoverDownloadZipURLFormat()
S
58 6 15
activatePrimeMoverPluginOnly()
S
54 5 23
enableMaintenanceDuringImport()
S
55 5 20
primeMoverGetBlogsDirUrl()
S
56 5 20
isZipByMime()
S
55 5 18
maybeLoadAssetsOnDashboard()
S
57 5 18
logCliReProcessingArray()
S
57 5 18
createSiteExportDirectory()
S
58 5 17
disableMaintenanceDuringImport()
S
57 5 17
isMigrationToolsSitesPage()
S
65 6 9
isZipPackageHasEntityEncrypted()
S
59 5 14
isRefererBackupMenu()
S
60 5 14
primeMoverDoDelete()
S
60 5 14
removeTmpImportFilesDir()
S
62 5 12
getUserMetaTableName()
S
59 4 16
getDbPrefixOfSite()
S
59 4 16
isReallyZip()
S
59 4 15
addUpdatedPluginHeadersToCache()
S
58 4 15
maybeLoadMenuAssets()
S
66 5 9
maybeResetOpCache()
S
65 5 8
maybeUseStoreMode()
S
65 5 9
isFileResideInExportDir()
S
60 4 15
getBackupMenuUrl()
S
63 5 10
getThemeFullPath()
S
62 4 12
addUploadinfoFootprintKey()
S
63 4 12
getExportPathOfThisSubsite()
S
62 4 12
checkIfDirectoryIsEmpty()
S
62 4 12
isReallyTar()
S
62 4 11
updateSiteOption()
S
58 3 16
deleteSiteOption()
S
59 3 16
fOpen()
S
64 4 10
initializeFs()
S
66 4 9
generalizeExportTypeBasedOnGiven()
S
64 4 10
filePutContentsAppend()
S
65 4 10
logPeakMemoryUsage()
S
66 4 7
doLogRecurseCopyRestart()
S
64 4 9
getPublicSiteUrl()
S
67 4 8
validateIfFootprintHasUploadInfo()
S
65 4 9
addNewElement()
S
62 3 12
isMaintenanceModeEnabled()
S
62 3 12
getPackageCreationDateTime()
S
62 3 12
getRefreshPackageUrl()
S
61 3 12
updateBlogOption()
S
62 3 12
maybeLoadAssets()
S
62 3 11
hasZipExtension()
S
63 3 11
hasTarExtension()
S
63 3 11
fileExists()
S
64 3 11
getTablesforReplacement()
S
55 2 18
addSchemeFootprintKey()
S
66 3 9
maybeTestSlowCopy()
S
66 3 9
removePrefix()
S
65 3 9
isReallyValidFormat()
S
67 3 9
isExtractingPackageAsTar()
S
65 3 10
isDir()
S
65 3 10
addPluginManager()
S
64 3 9
validateIfFootprintHasScheme()
S
66 3 9
addPrimeMoverNonceFilters()
S
67 3 7
temporarilyIncreaseMemoryLimits()
S
65 3 8
nonCachedFileExists()
S
66 3 9
getAbsPath()
S
66 3 8
removePrimeMoverNonceFilters()
S
67 3 7
isConfigFileWritable()
S
65 3 10
fileGetContents()
S
71 3 6
systemHooks()
S
58 2 14
getDetailedDifferencesBetweenFootprints()
S
62 2 11
isUsingChildTheme()
S
63 2 11
getSiteOption()
S
63 2 11
activatePlugin()
S
63 2 11
isResource()
S
72 2 6
isValidJson()
S
65 2 9
fileSize64()
S
71 2 6
getLanguageFolder()
S
69 2 7
getWpContentInfo()
S
64 2 9
iniGet()
S
72 2 6
unLink()
S
72 2 6
fClose()
S
71 2 6
primeMoverCheckIfZipEnabled()
S
69 2 7
isHeadRequest()
S
70 2 6
removePluginManager()
S
65 2 9
getBlogOption()
S
66 2 9
hashString()
S
67 2 8
linodeHostCompatibility()
S
70 2 6
hashFile()
S
71 2 6
getFilesToRestore()
S
66 2 8
setTimeLimit()
S
74 2 5
flush()
S
73 2 6
getUrlSchemeOfThisSite()
S
70 2 7
isPluginActive()
S
65 2 10
deactivatePlugins()
S
67 2 8
initializeSiteExportDirectory()
S
70 2 7
isWpFileSystemUsable()
S
71 2 6
compliedMinimumRequirement()
S
68 2 7
updateOption()
S
68 2 8
endsWith()
S
69 2 6
isValidVersionNumber()
S
69 2 7
primeMoverVerifyNonce()
S
70 1 6
primeMoverCheckAdminReferer()
S
70 1 6
primeMoverNonceField()
S
72 1 5
primeMoverNonceUrl()
S
70 1 6
primeMoverNonceLife()
S
82 1 3
primeMoverCreateNonce()
S
71 1 6
__construct()
S
81 1 3
isSettingsPage()
S
80 1 3
sha256File()
S
79 1 3
humanFileSize()
S
63 1 9
getSystemAuthorization()
S
81 1 3
getSystemInitialization()
S
82 1 3
getPostMaxSizeCorePhpValue()
S
76 1 4
getPostMaxSizeInPhpini()
S
71 1 6
getMd5File()
S
80 1 3
getUploadMaxFilesizeCorePhpValue()
S
76 1 4
maybeUploadParametersMisconfigured()
S
73 1 5
getUploadmaxFilesizeInPhpini()
S
71 1 6
getFileSize()
S
80 1 3
getMultisiteMainSiteTableQuery()
S
78 1 3
switchToBlog()
S
81 1 3
restoreCurrentBlog()
S
82 1 3
getOption()
S
71 1 6
wpDie()
S
66 1 9
getUpgradeUrl()
S
81 1 3
getZipArchiveInstance()
S
80 1 3
getPeakMemoryUsage()
S
80 1 3
doMemoryLogs()
S
70 1 6
getSiteTitleGivenBlogId()
S
71 1 6
isShaString()
S
79 1 3
isLargeStreamFile()
S
80 1 3